package com.wcity.manage.service;

import com.wcity.manage.dao.model.User;

/**
 * 鉴权服务层
 *
 * @author dy
 */
public interface AuthService {

    /**
     * 鉴权
     *
     * @param user
     * @param actName
     * @return
     */
    String checkAuth(User user, String actName );

    /**
     * token检查
     * @param token
     * @param registerId
     * @return
     */
    String checkToken(String token, String registerId);

}
